package com.title6;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;

/**
 * @Author milian
 * @Date 2021/8/6 0006 20:45
 */
public class title6 {
    public static void main(String[] args) throws ExecutionException, InterruptedException {
        jackpot jackpot = new jackpot();
        Thread thread1 = new Thread(jackpot,"抽奖箱1");
        Thread thread2 = new Thread(jackpot,"抽奖箱2");
        thread1.start();
        thread2.start();
    }
}
